{template "header.html"}

<section class="main-content-area">
    <div class="container">
        <!-- bradcame start -->

        <div class="row">
            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                <div class="slider" style="margin-top: 0;">
                    <div id="mainSlider" class="nivoSlider">
                        {loop $banner $t}
                        <a href="{$t.title}"><img src="{dr_get_file($t.file)}" /></a>
                        {/loop}
                    </div>
                </div>
            </div>
        </div>
        <div class="mall-menu">
            <ul class="more-info-tab nav nav-tabs">
                {loop $mall_page $page $t}
                <li class="{if \Phpcmf\Service::L('router')->class == $page}active{/if}"><a href="{$t.url}"> <i class="{$t.icon}"></i> {$t.name}</a></li>
                {/loop}
            </ul>
        </div>
        <!-- bradcame end -->

        <div class="row">
            <div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
                <div class="page-sidebar-area">
                    <!-- shop-by-area start -->
                    <div class="single-sidebar shop-by-area mall-logo-info ">
                        <!-- price-filter start -->
                        <div class="mall-logo-img"><img src="{dr_thumb($thumb, 200, 80)}" /></div>
                        <h3 class="text-center" style="margin-bottom: 20px;">{$title}</h3>
                        <div class="price-filter">
                            <div class="rating-box text-center">
                                综合评分：
                                {dr_mall_star_level($avgsort)}
                                （{number_format($avgsort, 1)}）
                            </div>
                        </div>
                        <div class="category-list-pro sidebar-list">

                            {loop $ci->module['comment']['review']['option'] $i $name}
                            <div style="margin-bottom: 5px;" class="rating-box text-center">
                                {$name}：
                                {dr_mall_star_level($comment['sort'.$i])}
                                （{number_format($comment['sort'.$i], 1)}）
                            </div>
                            {/loop}
                        </div>
                        <div class="text-center" style="margin-bottom: 30px">
                            <a  href="javascript:dr_mall_favorite('{MOD_DIR}', '{$id}');" class="btn blue"> <i class="fa fa-heart-o"></i> 收藏店铺 </a>
                        </div>
                    </div>

                    <div class="popular-tag single-sidebar">
                        <p>所在地：{dr_linkagepos('address', $city, '-')}</p>
                        <p>详细地址：{$address}</p>
                        <p>联系电话：{$phone}</p>
                        <p>累计销量：{intval($volume)}</p>
                    </div>
                    <!-- popular tag end -->
                </div>
            </div>
            <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">

